#ifndef LINK_H
#define LINK_H
#include "time.h"
#include "stm32f4xx_hal.h"
#define ALARMEVENT 0
#define NOTEEVENT 1

void createlist(void);
void Add_alarm(uint8_t hour,uint8_t min);
void Find_alarm(uint8_t *hour,uint8_t *min);
uint8_t scan_alarmstat(void);
struct AlarmNode
{

   uint8_t hour;
	 uint8_t min;
   uint8_t  AlarmType;
   uint32_t note[32];
	struct AlarmNode* next;

};
typedef struct AlarmNode   AlarmNode;


#endif

